package com.ge.healthcare.autosc.common.errorHandler.test;

import com.ge.healthcare.autosc.common.ASCLogger;
import com.ge.healthcare.autosc.common.message.converter.AutoSCMessage;

public class DispatcherSimulatorImpl {

	private static AutoSCMessage message = null;

	public void processTaskInfo(AutoSCMessage object) {
		message = object;
		String methodName = "processTaskInfo";
		System.out.println("Dispatcher Initiated");
		ASCLogger.debug(this.getClass(), methodName, "Received Task: \n"
				+ object);
	}

	public static AutoSCMessage getAutoscMessage() {
		return message;
	}
	
	public static void resetAutoscMessage(){
		message = null;
	}
}
